﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="StateInsert.aspx.cs" Inherits="Pages_StateInsert" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Label ID="Label1" runat="server" Text="Nome : "></asp:Label>
        <asp:TextBox ID="txbName" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="txbName" ErrorMessage="Digite o estado">*</asp:RequiredFieldValidator>
        <br />
        <br />
        <asp:Label ID="Label2" runat="server" Text="Sigla : "></asp:Label>
        <asp:TextBox ID="txbAcronym" runat="server" MaxLength="2"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="txbAcronym" ErrorMessage="Digite a sigla do estado">*</asp:RequiredFieldValidator>
        <br />
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
        <br />
        <asp:Button ID="btnInsert" runat="server" onclick="btnInsert_Click" 
            Text="Cadastrar" />
&nbsp;&nbsp;
        <asp:HyperLink ID="hlStateMain" runat="server" NavigateUrl="StateMain.aspx">Lista de estados</asp:HyperLink>
&nbsp;&nbsp;
        <asp:HyperLink ID="hlMain" runat="server">Menu principal</asp:HyperLink>
    
    </div>
    </form>
</body>
</html>
